<html>
<head>
    <meta charset="UTF-8"  name="_token" content="{{ csrf_token() }}" />
    <title>用户个人中心</title>
    <?php include '../resources/views/web/_segs/SysHead.php';?>
    <script src="/js/angular.js"></script>
    <script src="/js/UserAccount.js" defer="defer"></script>
    <script type="text/javascript" src="/js/Reg_Log.js"></script>
    <script type="text/javascript" src="/js/UserAccount.js"  defer="defer"></script>

    <link href="/css/UserAccount.css" rel="stylesheet" type="text/css">
</head>
<body>
  <div class="row">
     <?php include '../resources/views/web/_widgets/SysHeading.php';?>
  </div><hr/>
  <div class="row"   style="height:75%;" >
    <div class="UA_content_left" >
     <?php include '../resources/views/web/_widgets/SysNavigation.php'; ?>
      <div class="tab-content">
         <div role="tabpanel" class="tab-pane  active in fade" id="UserInfo" aria-labelledby="UserInfo-tab">
        <div   class="info_head"> <label>个人资料</label> </div>
          <div class = "content_form">
            <div class="from-group lay_item ">
            <label   class="lab_f control-label">用户权限：</label>
            <div class="input_div"> <label   class="content_info" id="level_info"   ></label></div>
          </div>
            <div class="from-group lay_item ">
            <label   class="lab_f control-label">用户名:</label>
              <div class="input_div"><label   class="content_info" id="username_info" ></label></div>
          </div>
            <div class="from-group lay_item ">
            <label   class="lab_f control-label">姓名:</label>
                <div class="input_div"><label   class="content_info" id="realname_info"  ></label></div>
          </div>
            <div class="from-group lay_item ">
            <label  class="lab_f control-label">性别:</label>
                 <div class="input_div">  <label  class="content_info" id="gender_info"  ></label></div>
          </div>
            <div class="from-group lay_item ">
            <label class="lab_f control-label">手机号:</label><div class="input_div">
              <label   class="content_info" id="cellphone_info"  ></label></div>
          </div>
            <div class="from-group lay_item ">
            <label  class="lab_f control-label">地区:</label>
           <div class="input_div"><label  class="content_info" id="area_info"  ></label></div>
          </div>
             <div class="from-group lay_item ">
            <label  class="lab_f control-label">Email:</label>
               <div class="input_div"><label   class="content_info" id="email_info" ></label></div>
        </div>
        <div class="from-group lay_item ">
            <label  class="lab_f control-label">注册时间:</label>
               <div class="input_div"> <label  class="content_info" id="registertime_info" ></label></div>
        </div>
      </div></div>
        <div role="tabpanel" class="tab-pane " id="InfoEdit" aria-labelledby="InfoEdit-tab">
        <div   class="info_head"> <label>个人基本信息修改</label> </div>
         <div class = "content_form">
            <form class="form-horizontal" id="UpdateForm"  action="/ajax/update" method="post">
          <!--   <input type="hidden" name="_method" value="PUT">-->
             <input type="hidden" name="_token" value="{{     csrf_token()     }}">
            <div class="from-group lay_item ">
                <label for="" class="lab_f control-label">姓名：</label>
                <div class="control_p">
                  <input  type="text" class="" id="I_Name" name="I_Name" >
                </div>
                <label class=" control-label" id="lab_Name"></label>
              </div>

            <div class="from-group lay_item ">
            <label for="" class="lab_f control-label">性别：</label>
            <div class="control_p">
             <label  class= "gener_lab"><input  type="radio" class="content_info" id="male"  name="gender" value="0">男</label> 
             <label  class="gener_lab"><input  type="radio" class="content_info" id="female " name="gender" value="1">女</label>
            </div>
          </div>

            <div class="from-group lay_item ">
            <label for="" class="lab_f control-label">手机号：</label>
              <div class="input_div">
              <input  type="text" class="content_info" id="I_tel"  name="I_tel" onblur="checkMobile()" >
            </div>
                <label   class="control-label" id="lab_tel"></label>
          </div>

            <div class="from-group lay_item ">
            <label for="" class="lab_f control-label">地区：</label>
           <div class="input_div">
              <input  type="text" class="content_info" id="I_Area"  name="I_Area"  >
            </div>
                <label   class="control-label" id="lab_area"></label>
          </div>

             <div class="from-group lay_item ">
            <label for="" class="lab_f control-label">Email：</label>
               <div class="input_div">
              <input  type="text" class="content_info" id="I_Email"  name="I_Email"  onblur=" checkEmail()">
            </div>
            <label  class="control-label" id="lab_Email"></label>
        </div>
              <div class="hid_div" id ="update_div" style="display: none"><label id="update_lab" class="hidden_lab"></label></div>
              <div class="form-group lay_item">
              <div class="col-sm-offset-2">
                <button type="submit" id="updatebutton" class="btn btn-default button"  >提交修改信息</button>
              </div>
            </div>
      </form>
      </div>
              </div>
        <div role="tabpanel" class="tab-pane " id="FileDown" aria-labelledby="FileDown-tab">2</div>
        <div role="tabpanel" class="tab-pane " id="ProCenter" aria-labelledby="ProCenter-tab">3</div>
        <div role="tabpanel" class="tab-pane " id="SignalArea" aria-labelledby="SignalArea-tab">4</div>
        <div role="tabpanel" class="tab-pane " id="PassReset" aria-labelledby="PassReset-tab">
                <div  class="content_div"  style="width:500px; margin-left:auto; margin-right:auto;padding-top:100px;">
            <form class="form-horizontal" id="#myForm" >
            <!--    <input type="hidden" name="_token" value="{{     csrf_token()     }}">-->
                <div class="from-group lay_item ">
                <label for="Pre_passW" class="lab_f control-label">输入原始密码：</label>
                <div class="control_p">
                  <input  type="password" class="form-control" id="Pre_passW" name="Pre_passW" onblur="passWCheck()" >
                </div>
                <label class=" control-label lab_right " id="pre_lab"></label>
              </div>
                <div class="from-group lay_item ">
                <label for="New_passW" class="lab_f control-label">输入新密码 ：</label>
                <div class="control_p">
                  <input  type="password" class="form-control" id="New_passW" name="New_passW"   onblur="checknew_PassW()">
                </div>
                <label class=" control-label  lab_right" id="lab_Name">不少于6位字符</label>
              </div>
              <div class="hid_div" id ="newset_div" style="display: none"><label id="newset_lab" class="hidden_lab"></label></div>
                <div class="from-group lay_item ">
                <label for="NAgin_passW" class="lab_f control-label">新密码确认：</label>
                <div class="control_p">
                  <input  type="password" class="form-control" id="NAgin_passW" name="NAgin_passW"  onblur="newPassWSame()">
                </div>
                <label class=" control-label" id="lab_Name"></label>
              </div>
                 <div class="hid_div" id ="reset_div" style="display: none"><label id="reset_lab" class="hidden_lab"></label></div>
              <div class="form-group lay_item">
              <div class="col-sm-offset-4">
                <button type="button" id="resetbutton" class="btn btn-default button" >提交</button>
              </div>
            </div>
            </form>
          </div>
          <div id="dialog" ></div>
        </div>
      </div>
    </div>
  </div>
  <div class="row">
    <?php include '../resources/views/web/_widgets/bottom.php';?>
  </div>
</body>
</html>
